package com.ruoyi.index.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
/**
 * 渔获详情对象 fh_index_postinfo_detail
 *
 * @author zcc
 */
@ApiModel(description="渔获详情对象")
@Data
@TableName("fh_index_postinfo_detail")
public class FhIndexPostinfoDetail {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("发布信息id")
    @Excel(name = "发布信息id")
    private Long postinfoId;

    @ApiModelProperty("鱼类id")
    @Excel(name = "鱼类id")
    private Long fishId;

    @ApiModelProperty("重量")
    @Excel(name = "重量")
    private Double weight;

    @ApiModelProperty("长度")
    @Excel(name = "长度")
    private Double length;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime crateTime;

    private String fishName;

    private String fishImage;

    private String fishingType;

}
